import Vue from 'vue'
import VueRouter from 'vue-router'
import Home from '../views/Home.vue'

Vue.use(VueRouter)

const routes = [
  {
    path: '/',
    name: 'Home',
    component: Home
  },
  {
    path: '/Solution',
    component: () => import(/* webpackChunkName: "Solution" */ '../views/Solution.vue')
  },
  {
    path: '/Case',
    component: () => import(/* webpackChunkName: "Case" */ '../views/Case.vue'),
    props: true
  },
  {
    path: '/detail',
    component: () => import(/* webpackChunkName: "detail" */ '../views/detail.vue'),
    props: true
  },
  {
    path: '/Cooperation',
    component: () => import(/* webpackChunkName: "Cooperation" */ '../views/Cooperation.vue')
  },
  {
    path: '/News_Information',
    component: () => import(/* webpackChunkName: "News_Information" */ '../views/News_Information.vue')
  },
  {
    path: '/Product_Center',
    component: () => import(/* webpackChunkName: "Product_Center" */ '../views/Product_Center.vue')
  },
  {
    path: '/Weee',
    component: () => import(/* webpackChunkName: "Weee" */ '../views/Weee.vue')
  }
]

const router = new VueRouter({
  mode: 'history',
  base: process.env.BASE_URL,
  routes
})

export default router
